# -*- coding: utf-8; mode: snippet -*-
# name: CoxPHFitter from lifelines
# key: coxph@lifeline
# contributor: Shuguang Sun
# --
# from lifelines import CoxPHFitter

${1:cph} = CoxPHFitter()
${2:cox1} = $1.fit(${3:dtin}, duration_col="${3:time}", event_col="${4:event}", formula="${5:cov}")
$2.print_summary()
